home *** CD-ROM | disk | FTP | other *** search
- //CGVER1.3
- //
- // Generated by Microsoft (R) D3DX9 Shader Compiler 4.09.00.1126
- //
- // fxc /T ps_2_0 /Fc $$out.cg $$in.cg
- //
- //
- // Parameters:
- //
- // float4 $Offset01;
- // float4 $Offset2;
- // float4 $Params0;
- // float4 $Params1;
- // sampler2D $baseMap;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // ------------ ----- ----
- // $Offset01 c0 1
- // $Offset2 c1 1
- // $Params0 c2 1
- // $Params1 c3 1
- // $baseMap s0 1
- //
-
- ps_2_0
- dcl t0.xy
- dcl t1.xy
- dcl t2.xy
- dcl t3.xy
- dcl t4.xy
- dcl t5.xy
- dcl t6.xy
- dcl_2d s0
- texld_pp r5, t1, s0
- texld_pp r6, t4, s0
- texld_pp r3, t0, s0
- texld_pp r1, t2, s0
- texld_pp r4, t5, s0
- texld_pp r0, t3, s0
- texld_pp r2, t6, s0
- add_pp r5, r5, r6
- mul r5, r5, c2.y
- mad_pp r3, r3, c2.x, r5
- add_pp r1, r1, r4
- mad_pp r1, r1, c2.z, r3
- add_pp r0, r0, r2
- mad_pp r5, r0, c2.w, r1
- add r3.xy, t0, c0
- add r6.xy, t0, -c0
- add r1.xy, t0, c0.wzyx
- add r4.xy, t0, -c0.wzyx
- add r0.xy, t0, c1
- add r2.xy, t0, -c1
- texld_pp r3, r3, s0
- texld_pp r6, r6, s0
- texld_pp r1, r1, s0
- texld_pp r4, r4, s0
- texld_pp r0, r0, s0
- texld_pp r2, r2, s0
- add_pp r3, r3, r6
- mad_pp r3, r3, c3.x, r5
- add_pp r1, r1, r4
- mad_pp r1, r1, c3.y, r3
- add_pp r0, r0, r2
- mad_pp r0, r0, c3.z, r1
- mov_pp oC0, r0
-
- // approximately 33 instruction slots used (13 texture, 20 arithmetic)
-